import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";

// 查询用户列表
export function downloadResource(filename) {
  return request({
    url: "/common/download/resource?resource=" + filename,
    method: 'get',
    responseType: 'blob'
  })
}

export function download(filename) {
  return request({
    url: "/common/download?fileName=" + filename+"&delete=false",
    method: 'get',
  })
}
